import axios from "axios";
  
let retation = (params)=>axios.get('/slide/list',{params});
let link = (params)=>axios.get('/link/list',{params});
let remove = (data)=>axios.post('/notice/remove',data);
let open = (data)=>axios.post('/slide/usable',data);
let off = (data)=>axios.post('/slide/usable',data);
let edit = (data)=>axios.post('/slide/edit',data);
let friend = (id,data)=>axios.put(`/link/${id}`,data);
export default{
    retation,
 link,
 remove,
 open,
 off,
 edit,
 friend,
}
